package com.sunday.pinxinghui.entity;

import java.math.BigDecimal;

/**
 * Created by 刘涛 on 2017/8/23.
 */

public class Voucher {

    /**
     * id : 1
     * title : 满200减20
     * money : 20
     * conditonMoney : 200
     * endDate : 2017-10-01
     * type : 1
     * from : 平台
     * shopLogo : null
     * shopName : null
     * status : 0
     */

    private int id;
    private String title;
    private BigDecimal money;
    private BigDecimal conditonMoney;
    private String endDate;
    private int type;//我的卡券 type: 1优惠券 2电子券
    private String from;
    private String shopLogo;
    private String shopName;
    private int status;
    private int isComment;
    private long productId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }





    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }



    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getConditonMoney() {
        return conditonMoney;
    }

    public void setConditonMoney(BigDecimal conditonMoney) {
        this.conditonMoney = conditonMoney;
    }

    public String getShopLogo() {
        return shopLogo;
    }

    public void setShopLogo(String shopLogo) {
        this.shopLogo = shopLogo;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public int getIsComment() {
        return isComment;
    }

    public void setIsComment(int isComment) {
        this.isComment = isComment;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }
}
